//
//  GetShareListApi.m
//  DoubleJinGe
//
//  Created by 喻贵华 on 16/8/2.
//  Copyright © 2016年 Rex. All rights reserved.
//

#import "GetShareListApi.h"

@implementation GetShareListApi
{
    NSDictionary *_info;
}

- (id)initWithInfo:(NSDictionary *)info  {
    self = [super init];
    if (self) {
        _info = info;
    }
    return self;
}

- (NSString *)requestUrl {
    return @"/grant/get_list";
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}



- (id)requestArgument {
    NSMutableDictionary *dic = [NSMutableDictionary getPubdic];
    NSString *sign=[NSString getSign:dic];
    [dic setObject:sign forKey:@"sign"];
    return dic;
    
}

- (NSString *)userId {
    return [[[self responseJSONObject] objectForKey:@"userId"] stringValue];
}




-(void)dealloc
{
    NSLog(@"SetUserInfoApi dealloc");
}


@end
